Skip to main content

Powershell Script

Activity Description

Executes a PowerShell script on a local device. Windows PowerShell is Microsoft's task automation framework, consisting of a command-line shell and associated scripting language built on top of and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both local and remote Windows systems.

note

The PowerShell package must be installed on the server on which the script is executed.

note

The activity does not support a 32-bit MS Windows installation.

Settings

  • Script path/Script code – The path where the script resides/the script to run.
  • Parameters – Determines whether to provide parameters to the script.
  • Parameter Name – The name of the parameter provided to the script (as it appears in the script).
  • Parameter Value – The value of the parameter provided to the script (Click Add to add the parameter to the parameter table below or Remove to remove the selected parameter from it).